/*    */ package com.zimbra.qa.unittest.prov.soap;
/*    */ 
/*    */ import com.zimbra.cs.account.soap.SoapProvisioning;
/*    */ import com.zimbra.cs.ldap.unboundid.InMemoryLdapServer;
/*    */ import com.zimbra.soap.admin.type.CacheEntryType;
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ public class Cleanup
/*    */ {
/*    */   static void deleteAll(String... domainNames)
/*    */     throws Exception
/*    */   {
/* 26 */     if (InMemoryLdapServer.isOn()) {
/* 27 */       return;
/*    */     }
/*    */     
/* 30 */     com.zimbra.qa.unittest.prov.ldap.Cleanup.deleteAll(domainNames);
/*    */     
/* 32 */     SoapProvisioning prov = SoapProvisioning.getAdminInstance();
/* 33 */     prov.flushCache(CacheEntryType.account.name() + "," + CacheEntryType.group.name() + "," + CacheEntryType.config.name() + "," + CacheEntryType.globalgrant.name() + "," + CacheEntryType.cos.name() + "," + CacheEntryType.domain.name() + "," + CacheEntryType.mime.name() + "," + CacheEntryType.server.name() + "," + CacheEntryType.alwaysOnCluster.name() + "," + CacheEntryType.zimlet.name(), null, true);
/*    */   }
/*    */ }


/* Location:              /home/mint/zimbrastore.jar!/com/zimbra/qa/unittest/prov/soap/Cleanup.class
 * Java compiler version: 7 (51.0)
 * JD-Core Version:       0.7.1
 */